//package com.douqu.game.auth.platform;
//
//import com.bean.core.util.TwoTuple;
//import com.douqu.game.auth.database.model.RoleRecordModel;
//import com.douqu.game.core.e.ReturnMessage;
//import com.douqu.game.core.platform.PlatformSDK;
//import com.douqu.game.core.protobuf.SGCommonProto;
//import com.douqu.game.core.util.CoreUtils;
//import org.springframework.stereotype.Component;
//
///**
// * Author : Bean
// * 2017-05-20 17:07
// */
//@Component
//public class DeviceIdImpl implements PlatformSDK {
//
//
//    @Override
//    public TwoTuple<RoleRecordModel, ReturnMessage> auth(int serverId, String account, String password, String deviceId)
//    {
//        RoleRecordModel record = new RoleRecordModel();
//        record.setDeviceId(CoreUtils.createAccount(deviceId, SGCommonProto.E_CHANNEL_TYPE.CHANNEL_TYPE_QUICK));
//        record.setChannel(SGCommonProto.E_CHANNEL_TYPE.CHANNEL_TYPE_QUICK_VALUE);
//        record.setServerId(serverId);
//        return new TwoTuple<>(record, null);
//    }
//
//
//}
